<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>boolean类型</title>
    <script>
        /* var b1 = true;
        var b2 = false;

        console.log(b1);
        console.log(b2);

        console.log(typeof b1);
        console.log(typeof b2); */

        var num1 = 5;
        var num2 = 3;

        var b3 = num1 > num2;
        console.log(b3);
        console.log(typeof b3);

    </script>
</head>

<body>
</body>

</html>